package com.framework.web.demo.domain;

import com.framework.core.domain.CommonEntity;
import com.framework.core.domain.IdEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by fusf on 2016/5/14.
 */
@Entity
@Table(name = "t_demo")
public class Demo extends CommonEntity implements java.io.Serializable {

    private String name;
    private Integer age;
    private String remark;

    @Basic
    @Column(name = "NAME")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "AGE")
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Basic
    @Column(name = "REMARK")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}
